package framework.exceptions;

/**
 * 请求错误
 */
public class RequestException extends WebException {

    /**
     * 请求错误
     *
     * @return
     */
    @Override
    public int errorCode() {
        return 400;
    }

    public RequestException() {
        super();
    }

    public RequestException(String message) {
        super(message);
    }

    public RequestException(String message, Throwable cause) {
        super(message, cause);
    }
}
